package com.yby.mall.product.dao;

import com.yby.mall.product.dto.AttrInfoDto;
import com.yby.mall.product.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品属性
 * 
 * @author yangbingying
 * @email 2771355658@qq.com
 * @date 2021-07-09 20:49:20
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {

    List<AttrInfoDto> queryPage(@Param("catId") Long catId, @Param("type") String type, @Param("key") String key);
}
